/**
 * 
 */
package org.easyframework.core.exception;

/**
 * 
 * @ClassName: BisException   
 * @Description: 自定义业务异常
 * @author: daiw
 * @date: 2019年10月15日 下午3:03:12
 */
public class BisException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7206673728410303149L;

	private String code;

	private String message;

	/**
	 * @param string
	 */
	public BisException(String message) {
		this.message = message;
	}

	/**
	 * @param string
	 */
	public BisException(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
